<template>
  <transition name="move-in" appear>
    <slot></slot>
  </transition>
</template>

<script>
export default {
  name: 'move-in'
}
</script>

<style scoped lang="stylus" rel="stylesheet/stylus">
  .move-in-enter, .move-in-leave-to
    transform: translate3d(100%, 0, 0)
  .move-in-enter-active, .move-in-leave-active
    transition: transform .4s
</style>
